package com.eat.fish_service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eat.common_utils.R;
import com.eat.fish_service.entity.Dao.DiseasesEncyclopedia;
import com.eat.fish_service.entity.DiseaseQuery;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author CZF
 * @since 2022-04-29
 */
public interface DiseasesEncyclopediaService extends IService<DiseasesEncyclopedia> {

    R addFishDiseaseBaiKePic(MultipartFile pic);

    R addFishDiseaseBaiKe(String fishdiseaseName, String introduction,
                          String fishDiseaseImg, String author);

    R pageFishDiseaseCondition(Long current, Long size, DiseaseQuery diseaseQuery);

    R getFishDisease(String fishDiseaseId);

    R getAllDiseases();
}
